The gxSetColor Union
A color set object is essentially an array of color values. The acceptable types of color values that it may contain are defined by thegxSetColor
union:
union gxSetColor{ gxCMYKColor cmyk; gxRGBColor rgb; gxRGBAColor rgba; gxHSVColor hsv; gxHLSColor hls; gxXYZColor xyz; gxYXYColor yxy; gxLUVColor luv; gxLABColor lab; gxYIQColor yiq; gxColorValue gray; gxGrayAColor graya; unsigned short pixel16; unsigned long pixel32; gxColorValue component[4]; };ThegxSetColor
union is an abbreviatedgxColor
structure. ThegxColor
structure is described on page 4-53.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help